/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jmenu.dbmodels;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
import jmenu.main.AeSimpleMD5;

public class MProfile extends MDefaults
{
    private int id;
    private String login;
    private String pass;
    private String name;
    private String surname;
    private int sex;
    private int height;
    private int weight;
    private Date age;
    
    public MProfile()
    {
    }

    public MProfile(int id)
    {
        this.id = id;
    }

    public MProfile(int id, String login, String pass, String name, String surname, int sex, int height, int weight, Date age)
    {
        this.id = id;
        this.login = login;
        this.pass = pass;
        this.name = name;
        this.surname = surname;
        this.sex = sex;
        this.height = height;
        this.weight = weight;
        this.age = age;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        
        this.pass = pass;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public Date getAge() {
        return age;
    }

    public void setAge(Date age) {
        this.age = age;
    }
    

}
